<template>
  <div id="app" >
	<router-view></router-view>
  </div>
</template>

<script>
// import index from './components/index.vue'

import Main from '@/components/main/Main.vue'
export default {
  name: 'app',
  components: {
    Main
  },
  mounted(){
	  if(!this.$store.state.testmode)
		this.$store.dispatch("getConfig");//获取网站基础配置信息
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  
}
* {
  box-sizing: border-box;
  flex-shrink: 0;
  margin:0 !important;
}


</style>
